package com.aloda.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "dada.mail")
@Data
public class MailProperties {

    /**
     * 验证码邮件标题
     */
    private String title;

    /**
     * 用户名
     */
    private String username;

    /**
     * 授权码
     */
    private String password;

    /**
     * 地址
     */
    private String host;

    /**
     * 端口号
     */
    private String port;
}
